package com.guide.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TravelTeamQuery {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TravelTeamQuery() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("userId is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("userId is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("userId =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("userId <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("userId >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("userId >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("userId <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("userId <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("userId in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("userId not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("userId between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("userId not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserTypeIsNull() {
            addCriterion("userType is null");
            return (Criteria) this;
        }

        public Criteria andUserTypeIsNotNull() {
            addCriterion("userType is not null");
            return (Criteria) this;
        }

        public Criteria andUserTypeEqualTo(Integer value) {
            addCriterion("userType =", value, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeNotEqualTo(Integer value) {
            addCriterion("userType <>", value, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeGreaterThan(Integer value) {
            addCriterion("userType >", value, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("userType >=", value, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeLessThan(Integer value) {
            addCriterion("userType <", value, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeLessThanOrEqualTo(Integer value) {
            addCriterion("userType <=", value, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeIn(List<Integer> values) {
            addCriterion("userType in", values, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeNotIn(List<Integer> values) {
            addCriterion("userType not in", values, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeBetween(Integer value1, Integer value2) {
            addCriterion("userType between", value1, value2, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("userType not between", value1, value2, "userType");
            return (Criteria) this;
        }

        public Criteria andTravelorgIdIsNull() {
            addCriterion("travelorgId is null");
            return (Criteria) this;
        }

        public Criteria andTravelorgIdIsNotNull() {
            addCriterion("travelorgId is not null");
            return (Criteria) this;
        }

        public Criteria andTravelorgIdEqualTo(Long value) {
            addCriterion("travelorgId =", value, "travelorgId");
            return (Criteria) this;
        }

        public Criteria andTravelorgIdNotEqualTo(Long value) {
            addCriterion("travelorgId <>", value, "travelorgId");
            return (Criteria) this;
        }

        public Criteria andTravelorgIdGreaterThan(Long value) {
            addCriterion("travelorgId >", value, "travelorgId");
            return (Criteria) this;
        }

        public Criteria andTravelorgIdGreaterThanOrEqualTo(Long value) {
            addCriterion("travelorgId >=", value, "travelorgId");
            return (Criteria) this;
        }

        public Criteria andTravelorgIdLessThan(Long value) {
            addCriterion("travelorgId <", value, "travelorgId");
            return (Criteria) this;
        }

        public Criteria andTravelorgIdLessThanOrEqualTo(Long value) {
            addCriterion("travelorgId <=", value, "travelorgId");
            return (Criteria) this;
        }

        public Criteria andTravelorgIdIn(List<Long> values) {
            addCriterion("travelorgId in", values, "travelorgId");
            return (Criteria) this;
        }

        public Criteria andTravelorgIdNotIn(List<Long> values) {
            addCriterion("travelorgId not in", values, "travelorgId");
            return (Criteria) this;
        }

        public Criteria andTravelorgIdBetween(Long value1, Long value2) {
            addCriterion("travelorgId between", value1, value2, "travelorgId");
            return (Criteria) this;
        }

        public Criteria andTravelorgIdNotBetween(Long value1, Long value2) {
            addCriterion("travelorgId not between", value1, value2, "travelorgId");
            return (Criteria) this;
        }

        public Criteria andTeamtitleIsNull() {
            addCriterion("teamtitle is null");
            return (Criteria) this;
        }

        public Criteria andTeamtitleIsNotNull() {
            addCriterion("teamtitle is not null");
            return (Criteria) this;
        }

     
        
        public Criteria andTeamtitleEqualTo(String value) {
            addCriterion("teamtitle =", value, "teamtitle");
            return (Criteria) this;
        }

        public Criteria andTeamtitleNotEqualTo(String value) {
            addCriterion("teamtitle <>", value, "teamtitle");
            return (Criteria) this;
        }

        public Criteria andTeamtitleGreaterThan(String value) {
            addCriterion("teamtitle >", value, "teamtitle");
            return (Criteria) this;
        }

        public Criteria andTeamtitleGreaterThanOrEqualTo(String value) {
            addCriterion("teamtitle >=", value, "teamtitle");
            return (Criteria) this;
        }

        public Criteria andTeamtitleLessThan(String value) {
            addCriterion("teamtitle <", value, "teamtitle");
            return (Criteria) this;
        }

        public Criteria andTeamtitleLessThanOrEqualTo(String value) {
            addCriterion("teamtitle <=", value, "teamtitle");
            return (Criteria) this;
        }

        public Criteria andTeamtitleLike(String value) {
            addCriterion("teamtitle like", value, "teamtitle");
            return (Criteria) this;
        }

        public Criteria andTeamtitleNotLike(String value) {
            addCriterion("teamtitle not like", value, "teamtitle");
            return (Criteria) this;
        }

        public Criteria andTeamtitleIn(List<String> values) {
            addCriterion("teamtitle in", values, "teamtitle");
            return (Criteria) this;
        }

        public Criteria andTeamtitleNotIn(List<String> values) {
            addCriterion("teamtitle not in", values, "teamtitle");
            return (Criteria) this;
        }

        public Criteria andTeamtitleBetween(String value1, String value2) {
            addCriterion("teamtitle between", value1, value2, "teamtitle");
            return (Criteria) this;
        }

        public Criteria andTeamtitleNotBetween(String value1, String value2) {
            addCriterion("teamtitle not between", value1, value2, "teamtitle");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("startTime is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("startTime is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("startTime =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("startTime <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("startTime >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("startTime >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("startTime <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("startTime <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("startTime in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("startTime not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("startTime between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("startTime not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andSourcecityIsNull() {
            addCriterion("sourcecity is null");
            return (Criteria) this;
        }

        public Criteria andSourcecityIsNotNull() {
            addCriterion("sourcecity is not null");
            return (Criteria) this;
        }

        public Criteria andSourcecityEqualTo(String value) {
            addCriterion("sourcecity =", value, "sourcecity");
            return (Criteria) this;
        }

        public Criteria andSourcecityNotEqualTo(String value) {
            addCriterion("sourcecity <>", value, "sourcecity");
            return (Criteria) this;
        }

        public Criteria andSourcecityGreaterThan(String value) {
            addCriterion("sourcecity >", value, "sourcecity");
            return (Criteria) this;
        }

        public Criteria andSourcecityGreaterThanOrEqualTo(String value) {
            addCriterion("sourcecity >=", value, "sourcecity");
            return (Criteria) this;
        }

        public Criteria andSourcecityLessThan(String value) {
            addCriterion("sourcecity <", value, "sourcecity");
            return (Criteria) this;
        }

        public Criteria andSourcecityLessThanOrEqualTo(String value) {
            addCriterion("sourcecity <=", value, "sourcecity");
            return (Criteria) this;
        }

        public Criteria andSourcecityLike(String value) {
            addCriterion("sourcecity like", value, "sourcecity");
            return (Criteria) this;
        }

        public Criteria andSourcecityNotLike(String value) {
            addCriterion("sourcecity not like", value, "sourcecity");
            return (Criteria) this;
        }

        public Criteria andSourcecityIn(List<String> values) {
            addCriterion("sourcecity in", values, "sourcecity");
            return (Criteria) this;
        }

        public Criteria andSourcecityNotIn(List<String> values) {
            addCriterion("sourcecity not in", values, "sourcecity");
            return (Criteria) this;
        }

        public Criteria andSourcecityBetween(String value1, String value2) {
            addCriterion("sourcecity between", value1, value2, "sourcecity");
            return (Criteria) this;
        }

        public Criteria andSourcecityNotBetween(String value1, String value2) {
            addCriterion("sourcecity not between", value1, value2, "sourcecity");
            return (Criteria) this;
        }

        public Criteria andTargetcityIsNull() {
            addCriterion("targetcity is null");
            return (Criteria) this;
        }

        public Criteria andTargetcityIsNotNull() {
            addCriterion("targetcity is not null");
            return (Criteria) this;
        }

        public Criteria andTargetcityEqualTo(String value) {
            addCriterion("targetcity =", value, "targetcity");
            return (Criteria) this;
        }

        public Criteria andTargetcityNotEqualTo(String value) {
            addCriterion("targetcity <>", value, "targetcity");
            return (Criteria) this;
        }

        public Criteria andTargetcityGreaterThan(String value) {
            addCriterion("targetcity >", value, "targetcity");
            return (Criteria) this;
        }

        public Criteria andTargetcityGreaterThanOrEqualTo(String value) {
            addCriterion("targetcity >=", value, "targetcity");
            return (Criteria) this;
        }

        public Criteria andTargetcityLessThan(String value) {
            addCriterion("targetcity <", value, "targetcity");
            return (Criteria) this;
        }

        public Criteria andTargetcityLessThanOrEqualTo(String value) {
            addCriterion("targetcity <=", value, "targetcity");
            return (Criteria) this;
        }

        public Criteria andTargetcityLike(String value) {
            addCriterion("targetcity like", value, "targetcity");
            return (Criteria) this;
        }

        public Criteria andTargetcityNotLike(String value) {
            addCriterion("targetcity not like", value, "targetcity");
            return (Criteria) this;
        }

        public Criteria andTargetcityIn(List<String> values) {
            addCriterion("targetcity in", values, "targetcity");
            return (Criteria) this;
        }

        public Criteria andTargetcityNotIn(List<String> values) {
            addCriterion("targetcity not in", values, "targetcity");
            return (Criteria) this;
        }

        public Criteria andTargetcityBetween(String value1, String value2) {
            addCriterion("targetcity between", value1, value2, "targetcity");
            return (Criteria) this;
        }

        public Criteria andTargetcityNotBetween(String value1, String value2) {
            addCriterion("targetcity not between", value1, value2, "targetcity");
            return (Criteria) this;
        }

        public Criteria andKeepstatusIsNull() {
            addCriterion("keepstatus is null");
            return (Criteria) this;
        }

        public Criteria andKeepstatusIsNotNull() {
            addCriterion("keepstatus is not null");
            return (Criteria) this;
        }

        public Criteria andKeepstatusEqualTo(Integer value) {
            addCriterion("keepstatus =", value, "keepstatus");
            return (Criteria) this;
        }

        public Criteria andKeepstatusNotEqualTo(Integer value) {
            addCriterion("keepstatus <>", value, "keepstatus");
            return (Criteria) this;
        }

        public Criteria andKeepstatusGreaterThan(Integer value) {
            addCriterion("keepstatus >", value, "keepstatus");
            return (Criteria) this;
        }

        public Criteria andKeepstatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("keepstatus >=", value, "keepstatus");
            return (Criteria) this;
        }

        public Criteria andKeepstatusLessThan(Integer value) {
            addCriterion("keepstatus <", value, "keepstatus");
            return (Criteria) this;
        }

        public Criteria andKeepstatusLessThanOrEqualTo(Integer value) {
            addCriterion("keepstatus <=", value, "keepstatus");
            return (Criteria) this;
        }

        public Criteria andKeepstatusIn(List<Integer> values) {
            addCriterion("keepstatus in", values, "keepstatus");
            return (Criteria) this;
        }

        public Criteria andKeepstatusNotIn(List<Integer> values) {
            addCriterion("keepstatus not in", values, "keepstatus");
            return (Criteria) this;
        }

        public Criteria andKeepstatusBetween(Integer value1, Integer value2) {
            addCriterion("keepstatus between", value1, value2, "keepstatus");
            return (Criteria) this;
        }

        public Criteria andKeepstatusNotBetween(Integer value1, Integer value2) {
            addCriterion("keepstatus not between", value1, value2, "keepstatus");
            return (Criteria) this;
        }

        public Criteria andIsoutboundIsNull() {
            addCriterion("isoutbound is null");
            return (Criteria) this;
        }

        public Criteria andIsoutboundIsNotNull() {
            addCriterion("isoutbound is not null");
            return (Criteria) this;
        }

        public Criteria andIsoutboundEqualTo(Integer value) {
            addCriterion("isoutbound =", value, "isoutbound");
            return (Criteria) this;
        }

        public Criteria andIsoutboundNotEqualTo(Integer value) {
            addCriterion("isoutbound <>", value, "isoutbound");
            return (Criteria) this;
        }

        public Criteria andIsoutboundGreaterThan(Integer value) {
            addCriterion("isoutbound >", value, "isoutbound");
            return (Criteria) this;
        }

        public Criteria andIsoutboundGreaterThanOrEqualTo(Integer value) {
            addCriterion("isoutbound >=", value, "isoutbound");
            return (Criteria) this;
        }

        public Criteria andIsoutboundLessThan(Integer value) {
            addCriterion("isoutbound <", value, "isoutbound");
            return (Criteria) this;
        }

        public Criteria andIsoutboundLessThanOrEqualTo(Integer value) {
            addCriterion("isoutbound <=", value, "isoutbound");
            return (Criteria) this;
        }

        public Criteria andIsoutboundIn(List<Integer> values) {
            addCriterion("isoutbound in", values, "isoutbound");
            return (Criteria) this;
        }

        public Criteria andIsoutboundNotIn(List<Integer> values) {
            addCriterion("isoutbound not in", values, "isoutbound");
            return (Criteria) this;
        }

        public Criteria andIsoutboundBetween(Integer value1, Integer value2) {
            addCriterion("isoutbound between", value1, value2, "isoutbound");
            return (Criteria) this;
        }

        public Criteria andIsoutboundNotBetween(Integer value1, Integer value2) {
            addCriterion("isoutbound not between", value1, value2, "isoutbound");
            return (Criteria) this;
        }

        public Criteria andDaysIsNull() {
            addCriterion("days is null");
            return (Criteria) this;
        }

        public Criteria andDaysIsNotNull() {
            addCriterion("days is not null");
            return (Criteria) this;
        }

        public Criteria andDaysEqualTo(Integer value) {
            addCriterion("days =", value, "days");
            return (Criteria) this;
        }

        public Criteria andDaysNotEqualTo(Integer value) {
            addCriterion("days <>", value, "days");
            return (Criteria) this;
        }

        public Criteria andDaysGreaterThan(Integer value) {
            addCriterion("days >", value, "days");
            return (Criteria) this;
        }

        public Criteria andDaysGreaterThanOrEqualTo(Integer value) {
            addCriterion("days >=", value, "days");
            return (Criteria) this;
        }

        public Criteria andDaysLessThan(Integer value) {
            addCriterion("days <", value, "days");
            return (Criteria) this;
        }

        public Criteria andDaysLessThanOrEqualTo(Integer value) {
            addCriterion("days <=", value, "days");
            return (Criteria) this;
        }

        public Criteria andDaysIn(List<Integer> values) {
            addCriterion("days in", values, "days");
            return (Criteria) this;
        }

        public Criteria andDaysNotIn(List<Integer> values) {
            addCriterion("days not in", values, "days");
            return (Criteria) this;
        }

        public Criteria andDaysBetween(Integer value1, Integer value2) {
            addCriterion("days between", value1, value2, "days");
            return (Criteria) this;
        }

        public Criteria andDaysNotBetween(Integer value1, Integer value2) {
            addCriterion("days not between", value1, value2, "days");
            return (Criteria) this;
        }

        public Criteria andPnumIsNull() {
            addCriterion("pnum is null");
            return (Criteria) this;
        }

        public Criteria andPnumIsNotNull() {
            addCriterion("pnum is not null");
            return (Criteria) this;
        }

        public Criteria andPnumEqualTo(Integer value) {
            addCriterion("pnum =", value, "pnum");
            return (Criteria) this;
        }

        public Criteria andPnumNotEqualTo(Integer value) {
            addCriterion("pnum <>", value, "pnum");
            return (Criteria) this;
        }

        public Criteria andPnumGreaterThan(Integer value) {
            addCriterion("pnum >", value, "pnum");
            return (Criteria) this;
        }

        public Criteria andPnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("pnum >=", value, "pnum");
            return (Criteria) this;
        }

        public Criteria andPnumLessThan(Integer value) {
            addCriterion("pnum <", value, "pnum");
            return (Criteria) this;
        }

        public Criteria andPnumLessThanOrEqualTo(Integer value) {
            addCriterion("pnum <=", value, "pnum");
            return (Criteria) this;
        }

        public Criteria andPnumIn(List<Integer> values) {
            addCriterion("pnum in", values, "pnum");
            return (Criteria) this;
        }

        public Criteria andPnumNotIn(List<Integer> values) {
            addCriterion("pnum not in", values, "pnum");
            return (Criteria) this;
        }

        public Criteria andPnumBetween(Integer value1, Integer value2) {
            addCriterion("pnum between", value1, value2, "pnum");
            return (Criteria) this;
        }

        public Criteria andPnumNotBetween(Integer value1, Integer value2) {
            addCriterion("pnum not between", value1, value2, "pnum");
            return (Criteria) this;
        }

        public Criteria andIsSayIsNull() {
            addCriterion("isSay is null");
            return (Criteria) this;
        }

        public Criteria andIsSayIsNotNull() {
            addCriterion("isSay is not null");
            return (Criteria) this;
        }

        public Criteria andIsSayEqualTo(Integer value) {
            addCriterion("isSay =", value, "isSay");
            return (Criteria) this;
        }

        public Criteria andIsSayNotEqualTo(Integer value) {
            addCriterion("isSay <>", value, "isSay");
            return (Criteria) this;
        }

        public Criteria andIsSayGreaterThan(Integer value) {
            addCriterion("isSay >", value, "isSay");
            return (Criteria) this;
        }

        public Criteria andIsSayGreaterThanOrEqualTo(Integer value) {
            addCriterion("isSay >=", value, "isSay");
            return (Criteria) this;
        }

        public Criteria andIsSayLessThan(Integer value) {
            addCriterion("isSay <", value, "isSay");
            return (Criteria) this;
        }

        public Criteria andIsSayLessThanOrEqualTo(Integer value) {
            addCriterion("isSay <=", value, "isSay");
            return (Criteria) this;
        }

        public Criteria andIsSayIn(List<Integer> values) {
            addCriterion("isSay in", values, "isSay");
            return (Criteria) this;
        }

        public Criteria andIsSayNotIn(List<Integer> values) {
            addCriterion("isSay not in", values, "isSay");
            return (Criteria) this;
        }

        public Criteria andIsSayBetween(Integer value1, Integer value2) {
            addCriterion("isSay between", value1, value2, "isSay");
            return (Criteria) this;
        }

        public Criteria andIsSayNotBetween(Integer value1, Integer value2) {
            addCriterion("isSay not between", value1, value2, "isSay");
            return (Criteria) this;
        }

        public Criteria andGuidecostIsNull() {
            addCriterion("guidecost is null");
            return (Criteria) this;
        }

        public Criteria andGuidecostIsNotNull() {
            addCriterion("guidecost is not null");
            return (Criteria) this;
        }

        public Criteria andGuidecostEqualTo(Double value) {
            addCriterion("guidecost =", value, "guidecost");
            return (Criteria) this;
        }

        public Criteria andGuidecostNotEqualTo(Double value) {
            addCriterion("guidecost <>", value, "guidecost");
            return (Criteria) this;
        }

        public Criteria andGuidecostGreaterThan(Double value) {
            addCriterion("guidecost >", value, "guidecost");
            return (Criteria) this;
        }

        public Criteria andGuidecostGreaterThanOrEqualTo(Double value) {
            addCriterion("guidecost >=", value, "guidecost");
            return (Criteria) this;
        }

        public Criteria andGuidecostLessThan(Double value) {
            addCriterion("guidecost <", value, "guidecost");
            return (Criteria) this;
        }

        public Criteria andGuidecostLessThanOrEqualTo(Double value) {
            addCriterion("guidecost <=", value, "guidecost");
            return (Criteria) this;
        }

        public Criteria andGuidecostIn(List<Double> values) {
            addCriterion("guidecost in", values, "guidecost");
            return (Criteria) this;
        }

        public Criteria andGuidecostNotIn(List<Double> values) {
            addCriterion("guidecost not in", values, "guidecost");
            return (Criteria) this;
        }

        public Criteria andGuidecostBetween(Double value1, Double value2) {
            addCriterion("guidecost between", value1, value2, "guidecost");
            return (Criteria) this;
        }

        public Criteria andGuidecostNotBetween(Double value1, Double value2) {
            addCriterion("guidecost not between", value1, value2, "guidecost");
            return (Criteria) this;
        }

        public Criteria andApplycountIsNull() {
            addCriterion("applycount is null");
            return (Criteria) this;
        }

        public Criteria andApplycountIsNotNull() {
            addCriterion("applycount is not null");
            return (Criteria) this;
        }

        public Criteria andApplycountEqualTo(Integer value) {
            addCriterion("applycount =", value, "applycount");
            return (Criteria) this;
        }

        public Criteria andApplycountNotEqualTo(Integer value) {
            addCriterion("applycount <>", value, "applycount");
            return (Criteria) this;
        }

        public Criteria andApplycountGreaterThan(Integer value) {
            addCriterion("applycount >", value, "applycount");
            return (Criteria) this;
        }

        public Criteria andApplycountGreaterThanOrEqualTo(Integer value) {
            addCriterion("applycount >=", value, "applycount");
            return (Criteria) this;
        }

        public Criteria andApplycountLessThan(Integer value) {
            addCriterion("applycount <", value, "applycount");
            return (Criteria) this;
        }

        public Criteria andApplycountLessThanOrEqualTo(Integer value) {
            addCriterion("applycount <=", value, "applycount");
            return (Criteria) this;
        }

        public Criteria andApplycountIn(List<Integer> values) {
            addCriterion("applycount in", values, "applycount");
            return (Criteria) this;
        }

        public Criteria andApplycountNotIn(List<Integer> values) {
            addCriterion("applycount not in", values, "applycount");
            return (Criteria) this;
        }

        public Criteria andApplycountBetween(Integer value1, Integer value2) {
            addCriterion("applycount between", value1, value2, "applycount");
            return (Criteria) this;
        }

        public Criteria andApplycountNotBetween(Integer value1, Integer value2) {
            addCriterion("applycount not between", value1, value2, "applycount");
            return (Criteria) this;
        }

        public Criteria andGuidestatusIsNull() {
            addCriterion("guidestatus is null");
            return (Criteria) this;
        }

        public Criteria andGuidestatusIsNotNull() {
            addCriterion("guidestatus is not null");
            return (Criteria) this;
        }

        public Criteria andGuidestatusEqualTo(Integer value) {
            addCriterion("guidestatus =", value, "guidestatus");
            return (Criteria) this;
        }

        public Criteria andGuidestatusNotEqualTo(Integer value) {
            addCriterion("guidestatus <>", value, "guidestatus");
            return (Criteria) this;
        }

        public Criteria andGuidestatusGreaterThan(Integer value) {
            addCriterion("guidestatus >", value, "guidestatus");
            return (Criteria) this;
        }

        public Criteria andGuidestatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("guidestatus >=", value, "guidestatus");
            return (Criteria) this;
        }

        public Criteria andGuidestatusLessThan(Integer value) {
            addCriterion("guidestatus <", value, "guidestatus");
            return (Criteria) this;
        }

        public Criteria andGuidestatusLessThanOrEqualTo(Integer value) {
            addCriterion("guidestatus <=", value, "guidestatus");
            return (Criteria) this;
        }

        public Criteria andGuidestatusIn(List<Integer> values) {
            addCriterion("guidestatus in", values, "guidestatus");
            return (Criteria) this;
        }

        public Criteria andGuidestatusNotIn(List<Integer> values) {
            addCriterion("guidestatus not in", values, "guidestatus");
            return (Criteria) this;
        }

        public Criteria andGuidestatusBetween(Integer value1, Integer value2) {
            addCriterion("guidestatus between", value1, value2, "guidestatus");
            return (Criteria) this;
        }

        public Criteria andGuidestatusNotBetween(Integer value1, Integer value2) {
            addCriterion("guidestatus not between", value1, value2, "guidestatus");
            return (Criteria) this;
        }

        public Criteria andCommentstatusIsNull() {
            addCriterion("commentstatus is null");
            return (Criteria) this;
        }

        public Criteria andCommentstatusIsNotNull() {
            addCriterion("commentstatus is not null");
            return (Criteria) this;
        }

        public Criteria andCommentstatusEqualTo(Integer value) {
            addCriterion("commentstatus =", value, "commentstatus");
            return (Criteria) this;
        }

        public Criteria andCommentstatusNotEqualTo(Integer value) {
            addCriterion("commentstatus <>", value, "commentstatus");
            return (Criteria) this;
        }

        public Criteria andCommentstatusGreaterThan(Integer value) {
            addCriterion("commentstatus >", value, "commentstatus");
            return (Criteria) this;
        }

        public Criteria andCommentstatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("commentstatus >=", value, "commentstatus");
            return (Criteria) this;
        }

        public Criteria andCommentstatusLessThan(Integer value) {
            addCriterion("commentstatus <", value, "commentstatus");
            return (Criteria) this;
        }

        public Criteria andCommentstatusLessThanOrEqualTo(Integer value) {
            addCriterion("commentstatus <=", value, "commentstatus");
            return (Criteria) this;
        }

        public Criteria andCommentstatusIn(List<Integer> values) {
            addCriterion("commentstatus in", values, "commentstatus");
            return (Criteria) this;
        }

        public Criteria andCommentstatusNotIn(List<Integer> values) {
            addCriterion("commentstatus not in", values, "commentstatus");
            return (Criteria) this;
        }

        public Criteria andCommentstatusBetween(Integer value1, Integer value2) {
            addCriterion("commentstatus between", value1, value2, "commentstatus");
            return (Criteria) this;
        }

        public Criteria andCommentstatusNotBetween(Integer value1, Integer value2) {
            addCriterion("commentstatus not between", value1, value2, "commentstatus");
            return (Criteria) this;
        }

        public Criteria andPhotoIsNull() {
            addCriterion("photo is null");
            return (Criteria) this;
        }

        public Criteria andPhotoIsNotNull() {
            addCriterion("photo is not null");
            return (Criteria) this;
        }

        public Criteria andPhotoEqualTo(String value) {
            addCriterion("photo =", value, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoNotEqualTo(String value) {
            addCriterion("photo <>", value, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoGreaterThan(String value) {
            addCriterion("photo >", value, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoGreaterThanOrEqualTo(String value) {
            addCriterion("photo >=", value, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoLessThan(String value) {
            addCriterion("photo <", value, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoLessThanOrEqualTo(String value) {
            addCriterion("photo <=", value, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoLike(String value) {
            addCriterion("photo like", value, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoNotLike(String value) {
            addCriterion("photo not like", value, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoIn(List<String> values) {
            addCriterion("photo in", values, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoNotIn(List<String> values) {
            addCriterion("photo not in", values, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoBetween(String value1, String value2) {
            addCriterion("photo between", value1, value2, "photo");
            return (Criteria) this;
        }

        public Criteria andPhotoNotBetween(String value1, String value2) {
            addCriterion("photo not between", value1, value2, "photo");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("description is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("description is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("description =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("description <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("description >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("description >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("description <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("description <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("description like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("description not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("description in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("description not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("description between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("description not between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andCtimeIsNull() {
            addCriterion("ctime is null");
            return (Criteria) this;
        }

        public Criteria andCtimeIsNotNull() {
            addCriterion("ctime is not null");
            return (Criteria) this;
        }

        public Criteria andCtimeEqualTo(Date value) {
            addCriterion("ctime =", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotEqualTo(Date value) {
            addCriterion("ctime <>", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeGreaterThan(Date value) {
            addCriterion("ctime >", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("ctime >=", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeLessThan(Date value) {
            addCriterion("ctime <", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeLessThanOrEqualTo(Date value) {
            addCriterion("ctime <=", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeIn(List<Date> values) {
            addCriterion("ctime in", values, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotIn(List<Date> values) {
            addCriterion("ctime not in", values, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeBetween(Date value1, Date value2) {
            addCriterion("ctime between", value1, value2, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotBetween(Date value1, Date value2) {
            addCriterion("ctime not between", value1, value2, "ctime");
            return (Criteria) this;
        }

        public Criteria andMtimeIsNull() {
            addCriterion("mtime is null");
            return (Criteria) this;
        }

        public Criteria andMtimeIsNotNull() {
            addCriterion("mtime is not null");
            return (Criteria) this;
        }

        public Criteria andMtimeEqualTo(Date value) {
            addCriterion("mtime =", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeNotEqualTo(Date value) {
            addCriterion("mtime <>", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeGreaterThan(Date value) {
            addCriterion("mtime >", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("mtime >=", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeLessThan(Date value) {
            addCriterion("mtime <", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeLessThanOrEqualTo(Date value) {
            addCriterion("mtime <=", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeIn(List<Date> values) {
            addCriterion("mtime in", values, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeNotIn(List<Date> values) {
            addCriterion("mtime not in", values, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeBetween(Date value1, Date value2) {
            addCriterion("mtime between", value1, value2, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeNotBetween(Date value1, Date value2) {
            addCriterion("mtime not between", value1, value2, "mtime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}